<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="步骤3：注册Dameng数据库">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="dameng-00009.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="dameng-00012">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>步骤3：注册Dameng数据库</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="dameng-00012"></a><a name="dameng-00012"></a>

<h1 class="topictitle1">步骤3：注册Dameng数据库</h1>
<div><div class="section"><h4 class="sectiontitle">注册Dameng单机数据库</h4><ol><li><span>选择<span class="uicontrol" id="dameng-00012__zh-cn_topic_0000002199964685_uicontrol184094357368">“<span id="dameng-00012__zh-cn_topic_0000002199964685_text54096353367">保护</span> &gt; 数据库 &gt; Dameng”</span>。</span></li><li><span>单击<span class="uicontrol">“<span>注册</span>”</span>，注册<span>Dameng单机</span>数据库。</span></li><li><span><span class="uicontrol">“<span>类型</span>”</span>选择<span class="uicontrol">“<span>单机</span>”</span>。</span></li><li><span>配置数据库信息。</span><p><p>相关参数说明如<a href="#dameng-00012__zh-cn_topic_0000001311214069_table241515964115">表1</a>所示。</p>

<div class="tablenoborder"><a name="dameng-00012__zh-cn_topic_0000001311214069_table241515964115"></a><a name="zh-cn_topic_0000001311214069_table241515964115"></a><table cellpadding="4" cellspacing="0" summary="" id="dameng-00012__zh-cn_topic_0000001311214069_table241515964115" frame="border" border="1" rules="all"><caption><b>表1 </b>Dameng单机注册信息</caption><colgroup><col style="width:25.629999999999995%"><col style="width:74.37%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="25.629999999999995%" id="mcps1.3.1.2.4.2.2.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="74.37%" id="mcps1.3.1.2.4.2.2.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span>名称</span></p>
</td>
<td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>自定义资源名称。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span>主机</span></p>
</td>
<td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>选择要注册的数据库主机。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span>端口</span></p>
</td>
<td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>数据库侦听的端口。端口号查询方式请参考<a href="dameng-00008.html">备份前准备</a>。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span>认证方式</span></p>
</td>
<td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><div class="p" id="dameng-00012__p745420243562">数据库认证方式，仅支持“<span id="dameng-00012__text1143063412561">OS认证</span>”和“<span id="dameng-00012__text1243014347563">数据库认证</span>”。<ul id="dameng-00012__ul1993332174720"><li id="dameng-00012__li199314328472">如果数据库认证方式为OS认证，则可以选择“<span id="dameng-00012__text10274135513475">OS认证</span>”或“<span id="dameng-00012__text13510115894715">数据库认证</span>”。</li><li id="dameng-00012__li16993732174712">如果数据库认证方式非OS认证，则请选择“<span id="dameng-00012__text253280204811">数据库认证</span>”。</li></ul>
<div class="note" id="dameng-00012__note05191228154811"><span class="notetitle"> 说明： </span><div class="notebody"><p id="dameng-00012__p155191628154815">查询数据库认证方式请参考<a href="dameng-00008.html">备份前准备</a>。</p>
</div></div>
</div>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span>数据库用户名</span></p>
</td>
<td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>当认证方式选择为“<span>数据库认证</span>”时，展示该参数。</p>
<p>当前注册的数据库登录用户名。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span>数据库密码</span></p>
</td>
<td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>当认证方式选择为“<span>数据库认证</span>”时，展示该参数。</p>
<p>当前注册的数据库登录密码。</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li><span>单击<span class="uicontrol">“确定”</span>。</span></li></ol>
</div>
<div class="section"><h4 class="sectiontitle">注册Dameng集群数据库</h4><ol><li><span>选择<span class="uicontrol" id="dameng-00012__zh-cn_topic_0000002199964685_uicontrol184094357368_1">“<span id="dameng-00012__zh-cn_topic_0000002199964685_text54096353367_1">保护</span> &gt; 数据库 &gt; Dameng”</span>。</span></li><li><span>单击<span class="uicontrol">“<span>注册</span>”</span>，注册<span>Dameng集群</span>数据库。</span></li><li><span><span class="uicontrol">“<span>类型</span>”</span>选择<span class="uicontrol">“<span>MPP主备集群</span>”</span>。</span></li><li><span>自定义集群名称。</span></li><li><span>单击“<span>添加</span>”，添加实例。</span><p><p>相关参数说明如<a href="#dameng-00012__table023314103113">表2</a>所示。</p>

<div class="tablenoborder"><a name="dameng-00012__table023314103113"></a><a name="table023314103113"></a><table cellpadding="4" cellspacing="0" summary="" id="dameng-00012__table023314103113" frame="border" border="1" rules="all"><caption><b>表2 </b>Dameng集群注册信息</caption><colgroup><col style="width:23.64%"><col style="width:76.36%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="23.64%" id="mcps1.3.2.2.5.2.2.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="76.36%" id="mcps1.3.2.2.5.2.2.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="23.64%" headers="mcps1.3.2.2.5.2.2.2.3.1.1 "><p>主机</p>
</td>
<td class="cellrowborder" valign="top" width="76.36%" headers="mcps1.3.2.2.5.2.2.2.3.1.2 "><p>集群实例所对应的数据库主机。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="23.64%" headers="mcps1.3.2.2.5.2.2.2.3.1.1 "><p>端口</p>
</td>
<td class="cellrowborder" valign="top" width="76.36%" headers="mcps1.3.2.2.5.2.2.2.3.1.2 "><p>数据库实例侦听的端口。端口号查询方式请参考<a href="dameng-00008.html">备份前准备</a>。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="23.64%" headers="mcps1.3.2.2.5.2.2.2.3.1.1 "><p>认证方式</p>
</td>
<td class="cellrowborder" valign="top" width="76.36%" headers="mcps1.3.2.2.5.2.2.2.3.1.2 "><div class="p">数据库认证方式，仅支持“<span id="dameng-00012__dameng-00012_text1143063412561">OS认证</span>”和“<span id="dameng-00012__dameng-00012_text1243014347563">数据库认证</span>”。<ul id="dameng-00012__dameng-00012_ul1993332174720"><li id="dameng-00012__dameng-00012_li199314328472">如果数据库认证方式为OS认证，则可以选择“<span id="dameng-00012__dameng-00012_text10274135513475">OS认证</span>”或“<span id="dameng-00012__dameng-00012_text13510115894715">数据库认证</span>”。</li><li id="dameng-00012__dameng-00012_li16993732174712">如果数据库认证方式非OS认证，则请选择“<span id="dameng-00012__dameng-00012_text253280204811">数据库认证</span>”。</li></ul>
<div class="note" id="dameng-00012__dameng-00012_note05191228154811"><span class="notetitle"> 说明： </span><div class="notebody"><p id="dameng-00012__dameng-00012_p155191628154815">查询数据库认证方式请参考<a href="dameng-00008.html">备份前准备</a>。</p>
</div></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li><span>单击<span class="uicontrol">“确定”</span>。</span></li><li><span>单击<span class="uicontrol">“确定”</span>。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="dameng-00009.html">备份Dameng</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>